﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Money.Plugins
{
    // TODO should we move this elsewhere (delegates within Main application or plugin interfaces?
    public delegate void FilterEventHandler(object sender, FilterEventArgs filter);

    public interface IGraph
    {
        string Name { get; }
        event FilterEventHandler ApplyFilter;
        UserControl MainControl { get; }
        void ResetGraph();
        void SetDataInterface(IDataSet dataInterface);
        void UpdateGraph(object sender, DateChangedEventArgs e);
    }
}
